package inheritance;


public class LapTopDemo {

	public static void main(String[] args) {
		
		//Instantiating object LapTop using new keyword
		// here lenovo is object reference
			
			LapTop lenovo = new LapTop();
			
		//starting lap top
			lenovo.start();
		// Printing the current memory before adding extra memory
			System.out.println("current system memory=" + lenovo.currentMemory);
			
			lenovo.increaseMemory(4);
		
			System.out.println("current system memory=" + lenovo.currentMemory);
			
			lenovo.installingJdkSoftware();
			lenovo.browse();
			

	}

}
